package demo03;

import java.io.UnsupportedEncodingException;
import java.nio.charset.StandardCharsets;
import java.util.Arrays;

public class Test01 {
    public static void main(String[] args) throws UnsupportedEncodingException {
        String string = "你好！Hanserwei";
        System.out.println(Arrays.toString(string.getBytes(StandardCharsets.UTF_8)));
    }
}
